/*
 * @Author: your name
 * @Date: 2022-03-29 15:09:36
 * @LastEditTime: 2022-03-29 15:09:37
 * @LastEditors: Please set LastEditors
 * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 * @FilePath: \blog_web\src\api\home.js
 */
import request from '@/request'

let { get: $get, post: $post } = request

// 获取用户的总数
export const getUserTotal = () => $get('/user/total')
// 获取博文的总数
export const getBlogTotal = () => $get('/blog/total')
// 获取标签的总数
export const getLabelTotal = () => $get('/label/total')
// 获取留言的总数
export const getMessageTotal = () => $get('/message/total')
